#!/bin/bash
#install docker-ce
basepath=$(pwd)
source ${basepath}/conf/base.sh

#check network
network
#install docker
docker_install
#启动服务
#修改service配置文件
if [ `rpm -qa |grep net-tools|wc -l` -eq 1 ];then
change_service
else
echo -e "\033[31m ERROR NOT FIND ifconfig \033[0m"
exit 0
fi
docker_install_num